{template 'member','header'}
<script type="text/javascript" src="images/js/validator.js"></script>
<body>
<div id="main">
  {template 'pay' , 'left'}  
  <div id="right">
    <p id="position"> <strong>当前位置：</strong><a href="{$M[url]}">财务管理</a>在线支付</p>
	<form name="thisForm" id= "thisForm" action="{$MODULE[$mod]['url']}showpayment.php?action=online" method="POST">
    <input type="hidden" name="forward" value="{$forward}" />
    <table cellpadding="0" cellspacing="1" class="table_form">
    <caption>在线支付</caption>
    <tr>
        <th width="25%">点数余额：</th>        
        <td>{$_point} 点</td>
     </tr>
     <tr>
        <th>资金余额：</th>        
        <td>{$_amount} 元</td>
     </tr>
      <tr>
		<th><font style="color:red;">*</font>充值金额：</th>
		<td><input name="amount" type="text" id="amount" size="8" require='true' datatype='currency'  msg='请输入整数或浮点数(格式：0.1)' msgid="msgid" value="{$amount}" />&nbsp;元<span id="msgid"></span></td>
      </tr>
	  <tr>
        <th>充值方式：</th>
        <td>{$onlines[option]}</td>
      </tr>
	  <tr>		
	    <th>E-mail：</th>
        <td><input name="email" type="text" id="email" size="30" value="{$_email}" require='flase' datatype='email'  msg='请输入正确的邮箱' /></td>
      </tr>
      <tr>
        <th><font style="color:red;">*</font>姓 名：</th>
        <td><input name="contactname" type="text" id="contactname" size="30" value="{$_username}" require="true" datatype="limit" min="2" max="20" msg="姓名不得少于2个字符超过20个字符"/></td>
      </tr>
      <tr>
        <th><font style="color:red;">*</font>电 话：</th>
        <td><input name="telephone" type="text" id="telephone" size="30"  require="true" datatype="custom" regexp="(^((\(\d{3}\))|(\d{3}\-))?13[0-9]\d{8}|15[89]\d{8}?$)|(^(0[0-9]{2,3}\-)?([2-9][0-9]{6,7})+(\-[0-9]{1,4})?$)" msg="请输入正确的电话号码" msgid="msgid1"/> 格式：010-88888888或13888888888<span id="msgid1" ></span></td>
      </tr>
      
      <tr>
        <th>备  注：</th>
        <td><textarea name="usernote"  id="usernote" rows="5" cols="27" value=></textarea></td>
      </tr>
       {if $M[ischeckcode] }
      <tr><tH>验证码</tH>
        <td> {form::checkcode('checkcode',4,'require="true" datatype="require" msg="请输入验证码"')}
        <span class="errtip" id="checkcodetip"></span>
        </td>
      </tr>{/if}
      <tr>
        <th></th>
        <td colspan="2"><label>
          <input type="submit" name="button" id="button" value="确 定" />
          <input type="reset" name="button2" id="button2" value="重 置" />
          </label></td>
      </tr>
    </table>
	</form>
  </div>
</div>

<div class="clear"></div>
{template 'member','footer'}
<script language="javascript" type="text/javascript">
$().ready(function() {
	  $('form').checkForm(1);
	});
</script>
